//
//  NetworkUploadModel.h
//  SLDemo
//
//  Created by bocai on 2016/12/5.
//  Copyright © 2016年 Heracles. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetworkUploadModel : NSObject

//  要上传的二进制数组，需要开发者自己把对象（比如UIImage）转换成NSData
@property (copy, nonatomic) NSArray<NSData *> *datas;
//  上传后的文件名数组
@property (copy, nonatomic) NSArray<NSString *> *fileNames;
//  服务器对应字段名
@property (copy, nonatomic) NSString *name;
//  上传文件类型
@property (copy, nonatomic) NSString *mimeType;

- (instancetype)initWithDatas:(NSArray<NSData *> *)datas
                    fileNames:(NSArray<NSString *> *)fileNames
                         name:(NSString *)name
                     mimeType:(NSString *)mimeType;

@end
